//MyWoed.h
#ifndef MYWORD_H
#define MYWORD_H

#include<iostream>
using namespace std;

class MyWord
{
public:
	MyWord(char* pd);
	MyWord(const MyWord&);
	void show();
	void Set(char* pd);
	int getlen();
	char* getword();
	static void setnum(int i);
	int getnum();
	int getlen(int) const;
	MyWord operator = (const MyWord&);
	~MyWord();
private:
	static int num;
	const string name;
	char* pdata;
	int length;
};

#endif // !MYWORD_H